home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group98b.txt / 000004_icon-group-sender _Mon Apr 27 12:42:24 1998.msg < prev    next >
Internet Message Format  |  2000-09-20  |  1KB

  1. Return-Path: <icon-group-sender>
  2. Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
  3.     by baskerville.CS.Arizona.EDU (8.8.8/8.8.7) with SMTP id MAA29629
  4.     for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Mon, 27 Apr 1998 12:42:18 -0700 (MST)
  5. Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
  6.     id AA08647; Mon, 27 Apr 1998 12:42:15 -0700
  7. Date: Mon, 27 Apr 98 09:55:24 PDT
  8. Message-Id: <9804271655.AA02872@bermuda.synopsys.com>
  9. From: Shamim Mohamed <shamim@Synopsys.COM>
  10. To: Gregg Townsend <gmt@baskerville.CS.Arizona.EDU>
  11. Cc: dpfj@globalnet.co.uk, icon-group@baskerville.CS.Arizona.EDU
  12. Subject: Re:  Using icon pipe features
  13. In-Reply-To: <9804242014.AA14229@hawk.CS.Arizona.EDU>
  14. References: <9804242014.AA14229@hawk.CS.Arizona.EDU>
  15. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  16. Status: RO
  17. Content-Length: 548
  18.  
  19. [plug follows]
  20.  
  21. Gregg writes:
  22.   > Most Unix utilities will buffer their output if it's connected to a
  23.   > pipe.  That means that even if you were able to open a two-way pipe to
  24.   > something like "sed", you wouldn't be able to just write it a line and
  25.   > then read the filtered result.
  26.  
  27. One way (the right way?) to do this is by forking and having one copy write
  28. to sed and the other reading the output. Support for all this is in Unicon;
  29. an example (an implementation of script(1)) is in the documentation:
  30.  
  31.    http://www.drones.com/unicon/
  32.  
  33. -s
  34.